package com.coffee.service.impl;

import com.coffee.entity.AddressBook;
import com.coffee.service.AddressBookService;
import com.coffee.dao.AddressBookDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddressBookServiceImpl implements AddressBookService {
    @Autowired
    private AddressBookDAO addressBookDAO;
    @Override
    public AddressBook getById(String addressBookId) {
        return addressBookDAO.selectById(addressBookId);
    }
}
